package com.demo.project_template.constant;

/**
 * @Author ZhangKeChen  🤙🤙🏼🤙🏽
 * @Date 2023/1/5
 * @Description 通用常量
 */
public class CommonConstants {
    /**
     * cos文件上传文件夹路径
     */
    public static final String COS_FILE_PATH = "%s/images";
    /**
     * 限流redis Key
     */
    public static final String LIMITER_REDIS_KEY = "LIMITER_REDIS_KEY:";
    /**
     * 默认常量
     */
    public static final String DEFAULT = "DEFAULT";
    /**
     * 普通常量
     */
    public static final String ENABLE = "ENABLE";
    /**
     * 过期常量
     */
    public static final String EXPIRE = "EXPIRE";
    /**
     * 已使用常量
     */
    public static final String USED = "USED";

    /**
     * 系统配置
     */
    public static final String SYSTEM_CONFIG = "SYSTEM_CONFIG";

    /**
     * 平台配置
     */
    public static final String PLATFORM_INFO = "PLATFORM_INFO";

    /**
     * 购物车
     */
    public final static String CART_REDIS_KEY_TEMPLATE = "cart_%s";
}
